package com.cuit.mimall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author TeaWu
 * @since 2023-07-02
 */
@Getter
@Setter
@TableName("product")
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "product_id", type = IdType.AUTO)
    private Integer productId;

    @TableField("product_name")
    private String productName;

    @TableField("category_id")
    private Integer categoryId;

    @TableField("product_title")
    private String productTitle;

    @TableField("product_intro")
    private String productIntro;

    @TableField("product_picture")
    private String productPicture;

    @TableField("product_price")
    private Object productPrice;

    @TableField("product_selling_price")
    private Object productSellingPrice;

    @TableField("product_num")
    private Integer productNum;

    @TableField("product_sales")
    private Integer productSales;

    @TableField("product_status")
    private Integer productStatus;
}
